﻿using System;
using System.Collections.Generic;

namespace DARE
{
    public interface IAnimation
    {
        #region Properties
        
        string Name { get; }
        int Length { get; }
        TimeSpan Duration { get; }
        CHierarchy Hierarchy { get; }

        #endregion

        #region Method
        
        List<CTransform> GetFrame(CAnimConfig animConfig, out int previousKey, out int nextKey);
        double GetTimeByFrameId(int id);
        void CutAnimation(int idStart, int idEnd, string name);
        void CutAnimation(int duration);
        List<CAnimConfig> GetAnims();

        #endregion

    }
}
